package com.danbay.cloud.lock.device;

import com.danbay.framework.db.config.EnableDruid;
import com.danbay.framework.db.config.EnableMybatisPlus;
import com.danbay.framework.redis.config.EnableRedis;
import com.danbay.framework.springnc.EnableNoController;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @author yangyanchen on 2017/12/14
 *         Copyright © 2016 －2017 旦倍科技
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableCircuitBreaker
@EnableFeignClients
@EnableRedis
@EnableDruid
@EnableMybatisPlus
@MapperScan("com.danbay.cloud.lock.device.mapper")
@EnableNoController
public class DeviceLockServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(DeviceLockServiceApplication.class,args);
    }
}
